package com.newMedical.qiantai.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.newMedical.common.annotation.Excel;
import com.newMedical.common.core.domain.BaseEntity;

/**
 * 患者信息表对象 hz_user
 * 
 * @author zhou
 * @date 2022-03-25
 */
public class HzUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long hzId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String hzName;

    /** 年龄 */
    @Excel(name = "年龄")
    private Integer hzAge;

    /** 科室 */
    @Excel(name = "科室")
    private String hzDpet;

    /** 挂号级别（1：专家 2：主任） */
    @Excel(name = "挂号级别", readConverterExp = "1=：专家,2=：主任")
    private String hzLevel;

    /** 看诊医生 */
    @Excel(name = "看诊医生")
    private String hzDoc;

    /** 遍历本（1：有 0：无） */
    @Excel(name = "遍历本", readConverterExp = "1=：有,0=：无")
    private String hzBook;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private Long hzCard;

    /** 住址 */
    @Excel(name = "住址")
    private String hzAddress;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private Long hzCall;

    /** 挂号时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "挂号时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date hzTime;

    /** 性别（0：女 1：男） */
    @Excel(name = "性别", readConverterExp = "0=：女,1=：男")
    private String hzSix;

    /** 诊断号 */
    @Excel(name = "诊断号")
    private Long hzNum;

    /** 就诊状态（1：就诊完  0：未就诊 2：已退费） */
    @Excel(name = "就诊状态", readConverterExp = "1=：就诊完,0=：未就诊,2=：已退费")
    private String hzState;

    /** 发药状态（2：已发药  1：未发药  0：无药品） */
    @Excel(name = "发药状态", readConverterExp = "2=：已发药,1=：未发药,0=：无药品")
    private String hzDrug;

    public void setHzId(Long hzId) 
    {
        this.hzId = hzId;
    }

    public Long getHzId() 
    {
        return hzId;
    }
    public void setHzName(String hzName) 
    {
        this.hzName = hzName;
    }

    public String getHzName() 
    {
        return hzName;
    }
    public void setHzAge(Integer hzAge) 
    {
        this.hzAge = hzAge;
    }

    public Integer getHzAge() 
    {
        return hzAge;
    }
    public void setHzDpet(String hzDpet) 
    {
        this.hzDpet = hzDpet;
    }

    public String getHzDpet() 
    {
        return hzDpet;
    }
    public void setHzLevel(String hzLevel) 
    {
        this.hzLevel = hzLevel;
    }

    public String getHzLevel() 
    {
        return hzLevel;
    }
    public void setHzDoc(String hzDoc) 
    {
        this.hzDoc = hzDoc;
    }

    public String getHzDoc() 
    {
        return hzDoc;
    }
    public void setHzBook(String hzBook) 
    {
        this.hzBook = hzBook;
    }

    public String getHzBook() 
    {
        return hzBook;
    }
    public void setHzCard(Long hzCard) 
    {
        this.hzCard = hzCard;
    }

    public Long getHzCard() 
    {
        return hzCard;
    }
    public void setHzAddress(String hzAddress) 
    {
        this.hzAddress = hzAddress;
    }

    public String getHzAddress() 
    {
        return hzAddress;
    }
    public void setHzCall(Long hzCall) 
    {
        this.hzCall = hzCall;
    }

    public Long getHzCall() 
    {
        return hzCall;
    }
    public void setHzTime(Date hzTime) 
    {
        this.hzTime = hzTime;
    }

    public Date getHzTime() 
    {
        return hzTime;
    }
    public void setHzSix(String hzSix) 
    {
        this.hzSix = hzSix;
    }

    public String getHzSix() 
    {
        return hzSix;
    }
    public void setHzNum(Long hzNum) 
    {
        this.hzNum = hzNum;
    }

    public Long getHzNum() 
    {
        return hzNum;
    }
    public void setHzState(String hzState) 
    {
        this.hzState = hzState;
    }

    public String getHzState() 
    {
        return hzState;
    }
    public void setHzDrug(String hzDrug) 
    {
        this.hzDrug = hzDrug;
    }

    public String getHzDrug() 
    {
        return hzDrug;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hzId", getHzId())
            .append("hzName", getHzName())
            .append("hzAge", getHzAge())
            .append("hzDpet", getHzDpet())
            .append("hzLevel", getHzLevel())
            .append("hzDoc", getHzDoc())
            .append("hzBook", getHzBook())
            .append("hzCard", getHzCard())
            .append("hzAddress", getHzAddress())
            .append("hzCall", getHzCall())
            .append("hzTime", getHzTime())
            .append("hzSix", getHzSix())
            .append("hzNum", getHzNum())
            .append("hzState", getHzState())
            .append("hzDrug", getHzDrug())
            .toString();
    }
}
